package cn.gs.common.interfaces;

import java.rmi.Remote;
import java.rmi.RemoteException;
import javax.script.ScriptException;

/*
 * @author gs
 */
public interface ICommandExecuter extends Remote {

    String execute(String script) throws RemoteException, ScriptException;

    void put(String name, Object object) throws RemoteException;
}
